﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace MyLibrary.ThreeLayer.DataAccess.Interface
{
    public interface ITransaction
    {
        void BeginTransaction();
        void BeginTransaction(IsolationLevel isolationLevel);
        void Commit();
        void Rollback();
        IDbTransaction GetTransaction();
    }

    public interface ICloseRequire
    {
        void Close();
    }
}
